n=10
a=[]
while n>0:
    a.append(n)
    n = n - 1
print(a)
print('*' * 10)
for x in range(1,10):
    print(x) 
    print(type(x))


numbers = list(range(1,10))
print(numbers)

print('*' * 10)
even_numbers = list(range(1,100,2))
print(even_numbers)
print('*' * 9)
squares = []
for value in range(1,10,2):
    #square = value ** 2
    #squares.append(square)
    squares.append(value**2)
print(squares)

print('*' * 10)
digits = [1, 2, 3, 4, 5, 6, 7, 8, 9, 0]
print(int(min(digits)))
print(int(max(digits)))
print(int(sum(digits)))


squares = [value**2 for value in range(1,11)]
print(squares)

for i in range(1,21):
    print(i)

list_1000000 = [value for value in range(1,1000001)]
list_sum = sum(list_1000000)
print(list_sum)

list_jishu = [value for value in range(1,21,2)]
print(list_jishu)

list_3 = [value for value in range(3,31,3)]
print(list_3)

list_100 = [value**2 for value in range(1,11)]
print(list_100)
